package com.example.lotterysystem.controller.result;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
public class FindActivityListResult implements Serializable {

    //总量
    private Integer total;

    //当前列表
    private List<ActivityInfo> records;


    @Data
    public static class ActivityInfo implements Serializable {

        private Long activityId;

        private String activityName;

        private String description;

        //活动是否有效
        private Boolean valid;
    }

}
